package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市
 * 
 * @author yujuan.zhang
 * @from 2016-06-07
 * @since V1.0
 *
 */
@Alias("geoCity")
public class GeoCity extends PO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6875346700286103675L;

	/**
	 * 城市名称
	 */
	private String name;

	/**
	 * 所属省份，对应geo_state.id
	 */
	private int stateId;

	// TODO add comment
	private int defaultFlg;

	/**
	 * 拼音
	 */
	private String pinyin;

	// TODO add comment
	private int cityLevel;

	// TODO add comment
	private boolean isMajorCity;

	/**
	 * 状态
	 */
	private int status;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 全称
	 */
	private String fullName;

	/**
	 * 英文名称
	 */
	private String englishName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getStateId() {
		return stateId;
	}

	public void setStateId(int stateId) {
		this.stateId = stateId;
	}

	public int getDefaultFlg() {
		return defaultFlg;
	}

	public void setDefaultFlg(int defaultFlg) {
		this.defaultFlg = defaultFlg;
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public int getCityLevel() {
		return cityLevel;
	}

	public void setCityLevel(int cityLevel) {
		this.cityLevel = cityLevel;
	}

	public boolean isMajorCity() {
		return isMajorCity;
	}

	public void setMajorCity(boolean isMajorCity) {
		this.isMajorCity = isMajorCity;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}
	
	

}
